<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/src/gui/text/qabstractfontengine_qws.cpp -->
<head>
  <title>Qt 4.3: QFontEngineInfo Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">QFontEngineInfo Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1>
<p>The QFontEngineInfo class describes a specific font provided by a font engine plugin. <a href="#details">More...</a></p>
<pre> #include &lt;QFontEngineInfo&gt;</pre><p><b>This class is under development and is subject to change.</b></p>
<p>This class was introduced in Qt 4.3.</p>
<ul>
<li><a href="qfontengineinfo-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h3>Properties</h3>
<p><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="45%" valign="top"><ul>
<li><div class="fn"/><b><a href="qfontengineinfo.html#family-prop">family</a></b> : QString</li>
<li><div class="fn"/><b><a href="qfontengineinfo.html#pixelSize-prop">pixelSize</a></b> : qreal</li>
<li><div class="fn"/><b><a href="qfontengineinfo.html#style-prop">style</a></b> : QFont::Style</li>
</ul></td><td valign="top"><ul>
<li><div class="fn"/><b><a href="qfontengineinfo.html#weight-prop">weight</a></b> : int</li>
<li><div class="fn"/><b><a href="qfontengineinfo.html#writingSystems-prop">writingSystems</a></b> : QList&lt;QFontDatabase::WritingSystem&gt;</li>
</ul>
</td></tr>
</table></p>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="qfontengineinfo.html#QFontEngineInfo">QFontEngineInfo</a></b> ()</li>
<li><div class="fn"/><b><a href="qfontengineinfo.html#QFontEngineInfo-2">QFontEngineInfo</a></b> ( const QString &amp; <i>family</i> )</li>
<li><div class="fn"/><b><a href="qfontengineinfo.html#QFontEngineInfo-3">QFontEngineInfo</a></b> ( const QFontEngineInfo &amp; <i>other</i> )</li>
<li><div class="fn"/><b><a href="qfontengineinfo.html#dtor.QFontEngineInfo">~QFontEngineInfo</a></b> ()</li>
<li><div class="fn"/>QString <b><a href="qfontengineinfo.html#family-prop">family</a></b> () const</li>
<li><div class="fn"/>qreal <b><a href="qfontengineinfo.html#pixelSize-prop">pixelSize</a></b> () const</li>
<li><div class="fn"/>void <b><a href="qfontengineinfo.html#family-prop">setFamily</a></b> ( const QString &amp; <i>name</i> )</li>
<li><div class="fn"/>void <b><a href="qfontengineinfo.html#pixelSize-prop">setPixelSize</a></b> ( qreal <i>size</i> )</li>
<li><div class="fn"/>void <b><a href="qfontengineinfo.html#style-prop">setStyle</a></b> ( QFont::Style <i>style</i> )</li>
<li><div class="fn"/>void <b><a href="qfontengineinfo.html#weight-prop">setWeight</a></b> ( int <i>weight</i> )</li>
<li><div class="fn"/>void <b><a href="qfontengineinfo.html#writingSystems-prop">setWritingSystems</a></b> ( const QList&lt;QFontDatabase::WritingSystem&gt; &amp; <i>writingSystems</i> )</li>
<li><div class="fn"/>QFont::Style <b><a href="qfontengineinfo.html#style-prop">style</a></b> () const</li>
<li><div class="fn"/>int <b><a href="qfontengineinfo.html#weight-prop">weight</a></b> () const</li>
<li><div class="fn"/>QList&lt;QFontDatabase::WritingSystem&gt; <b><a href="qfontengineinfo.html#writingSystems-prop">writingSystems</a></b> () const</li>
<li><div class="fn"/>QFontEngineInfo &amp; <b><a href="qfontengineinfo.html#operator-eq">operator=</a></b> ( const QFontEngineInfo &amp; <i>other</i> )</li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QFontEngineInfo class describes a specific font provided by a font engine plugin.</p>
<p>QFontEngineInfo is used to describe a request of a font to a font engine plugin as well as to describe the actual fonts a plugin provides.</p>
<p>See also <a href="qabstractfontengine.html">QAbstractFontEngine</a> and <a href="qfontengineplugin.html">QFontEnginePlugin</a>.</p>
<hr />
<h2>Property Documentation</h2>
<h3 class="fn"><a name="family-prop"></a>family : <a href="qstring.html">QString</a></h3>
<p>the family name of the font</p>
<p>Access functions:</p>
<ul>
<li><div class="fn"/><b>QString family () const</b></li>
<li><div class="fn"/><b>void setFamily ( const QString &amp; <i>name</i> )</b></li>
</ul>
<h3 class="fn"><a name="pixelSize-prop"></a>pixelSize : <a href="qtglobal.html#qreal-typedef">qreal</a></h3>
<p>the pixel size of the font</p>
<p>A pixel size of 0 represents a freely scalable font.</p>
<p>Access functions:</p>
<ul>
<li><div class="fn"/><b>qreal pixelSize () const</b></li>
<li><div class="fn"/><b>void setPixelSize ( qreal <i>size</i> )</b></li>
</ul>
<h3 class="fn"><a name="style-prop"></a>style : <a href="qfont.html#Style-enum">QFont::Style</a></h3>
<p>the style of the font</p>
<p>Access functions:</p>
<ul>
<li><div class="fn"/><b>QFont::Style style () const</b></li>
<li><div class="fn"/><b>void setStyle ( QFont::Style <i>style</i> )</b></li>
</ul>
<h3 class="fn"><a name="weight-prop"></a>weight : int</h3>
<p>the weight of the font</p>
<p>The value should be from the <a href="qfont.html#Weight-enum">QFont::Weight</a> enumeration.</p>
<p>Access functions:</p>
<ul>
<li><div class="fn"/><b>int weight () const</b></li>
<li><div class="fn"/><b>void setWeight ( int <i>weight</i> )</b></li>
</ul>
<h3 class="fn"><a name="writingSystems-prop"></a>writingSystems : <a href="qlist.html">QList</a>&lt;<a href="qfontdatabase.html#WritingSystem-enum">QFontDatabase::WritingSystem</a>&gt;</h3>
<p>the writing systems supported by the font</p>
<p>An empty list means that any writing system is supported.</p>
<p>Access functions:</p>
<ul>
<li><div class="fn"/><b>QList&lt;QFontDatabase::WritingSystem&gt; writingSystems () const</b></li>
<li><div class="fn"/><b>void setWritingSystems ( const QList&lt;QFontDatabase::WritingSystem&gt; &amp; <i>writingSystems</i> )</b></li>
</ul>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QFontEngineInfo"></a>QFontEngineInfo::QFontEngineInfo ()</h3>
<p>Constructs a new empty <a href="qfontengineinfo.html">QFontEngineInfo</a>.</p>
<h3 class="fn"><a name="QFontEngineInfo-2"></a>QFontEngineInfo::QFontEngineInfo ( const <a href="qstring.html">QString</a> &amp; <i>family</i> )</h3>
<p>Constructs a new <a href="qfontengineinfo.html">QFontEngineInfo</a> with the specified <i>family</i>. The resulting object represents a freely scalable font with normal weight and style.</p>
<h3 class="fn"><a name="QFontEngineInfo-3"></a>QFontEngineInfo::QFontEngineInfo ( const QFontEngineInfo &amp; <i>other</i> )</h3>
<p>Creates a new font engine info object with the same attributes as <i>other</i>.</p>
<h3 class="fn"><a name="dtor.QFontEngineInfo"></a>QFontEngineInfo::~QFontEngineInfo ()</h3>
<p>Destroys this <a href="qfontengineinfo.html">QFontEngineInfo</a> object.</p>
<h3 class="fn"><a name="operator-eq"></a>QFontEngineInfo &amp; QFontEngineInfo::operator= ( const QFontEngineInfo &amp; <i>other</i> )</h3>
<p>Assigns <i>other</i> to this font engine info object, and returns a reference to this.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
